import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

const routes: Routes = [
  {
    path: 'devices',
    loadChildren: './site-devices/site-devices.module#SiteDevicesModule'
  },
  {
    path: 'manage',
    loadChildren: './site-manage/site-manage.module#SiteManageModule'
  },
  {
    path: 'categorys',
    loadChildren: './site-categorys/site-categorys.module#SiteCategorysModule'
  },
  {
    path: 'deviceCategorys',
    loadChildren: './device-categorys/device-categorys.module#DeviceCategorysModule'
  },
  {
    path: 'siteRange',
    loadChildren: './site-range/site-range.module#SiteRangeModule'
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class SiteV2RoutingModule { }
